
Ext.define("OrderConvert.view.convert.ConvertAddFormWin",{
    extend: "Ext.window.Window",

    xtype : 'convertaddformwin',

    requires: [
        "OrderConvert.view.convert.ConvertAddFormWinController",
        "OrderConvert.view.convert.ConvertAddFormWinModel",
        "OrderConvert.view.convert.ConvertForm"
    ],

    width : 400,
    height : 500,

    title : '添加转换规则',

    controller: "convert-convertaddformwin",
    viewModel: {
        type: "convert-convertaddformwin"
    },

    layout : 'fit',
    items : [{
        xtype : 'convertform'
    }],

    buttons : [{
        text : '提交',
        handler : 'submit'
    },{
        text : '关闭',
        handler : 'close'
    }]
});
